Skip to content

BUILD-10772: Changes fallback-to-default-branch default to false#48

Open
bwalsh434 wants to merge 1 commit intomasterfrom
BUILD-10772-set-fallback-to-default-branch-to-false
Open

BUILD-10772: Changes fallback-to-default-branch default to false#48
bwalsh434 wants to merge 1 commit intomasterfrom
BUILD-10772-set-fallback-to-default-branch-to-false

Conversation

@bwalsh434
Copy link
Contributor

@bwalsh434 bwalsh434 commented Mar 20, 2026

Context of PR

By defaulting it to fallback-to-default-branch: false, consumers on the new version of the action will get the same behavior as what is currently in the v1 branch (no automatic default-branch fallback) until they explicitly opt in by setting fallback-to-default-branch: true. This gives them time to evaluate whether they want the new behavior before enabling it.

This is all part of the Release Plan outlined in Slack here

What Changed?

  • Modifies default value of fallback-to-default-branch from true -> false

@sonarqube-cloud-us
Copy link

@sonarqubecloud
Copy link

@bwalsh434 bwalsh434 marked this pull request as ready for review March 20, 2026 20:19
@bwalsh434 bwalsh434 requested a review from a team as a code owner March 20, 2026 20:19
@sonar-review-alpha
Copy link

sonar-review-alpha bot commented Mar 20, 2026

Summary

Changes the default value of the fallback-to-default-branch input in action.yml from true to false. This is a straightforward configuration change that aligns the action's default behavior with v1 while users decide whether to adopt the new fallback behavior.

What reviewers should know

The change is confined to a single line in action.yml (line 37). This is a behavioral default change—users who haven't explicitly set fallback-to-default-branch will now get the v1 behavior (no automatic fallback) instead of the new behavior. No logic or documentation changes are included in this commit; the impact is purely on the default input value. Reviewers should confirm this is the intended change and that no other inputs or logic need to be updated alongside it.


  • Generate Walkthrough
  • Generate Diagram

🗣️ Give feedback

Copy link

@sonar-review-alpha sonar-review-alpha bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conclusion: Clean, minimal change — one line altered, no logic involved, and no issues to flag.

🗣️ Give feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant